php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#202672 - 04/02/04 03:57 PM [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Modification Name: Games 2.6.1 - Integrated

Author(s): Ian Spence

Description: Adds a game gallery to your forum

Difference between this and Allen's version:
This version is completely integrated with your UBB. Using who's online, you can tell what game a person is playing.
This also uses the spider friendly links.
Wordletized, so you can change names of games. (ie, Allen's mod had games' names in this format: "rigelianhotshots", whereas mine has "Rigelian Hot Shots"
I've added the requested link at the top of forums.

2.6 adds use of cached pages and the PHP acclerator

2.6.1 adds the ability to restrict game access to members who can access certain forums. Also fixes the bug that allowed unregistered users to play games with the accelerator pages even if disabled in the .cgi pages

Demo: http://www.alforadmin.com/ubb/ultimatebb.php/games.html

Requirements: 6.7+

Credits: Allen and Burak for the original code.
LK for the code for sorting.
Josh Pettit for ubb.threads version - www.threadsdev.com

Download Links:
Current Version - Use if upgrading or first install
(1.8mb) - only the flash/graphics files


Download both zips if this is your first install.

Top
#202673 - 04/02/04 04:33 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
cool
_________________________
- Allen wavey
- What Drives You?

Top
#202674 - 04/04/04 06:12 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
I followed the instructions in your "Games Install" .txt and nothing appears in my forums for the games. I must be missing something. Also I assumed that "image" directory would be uploaded to "modules" in my CGI directory and that games would go in to my non-cgi directory. Is this right? Thanks!

Top
#202675 - 04/04/04 06:24 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
clear the cache laugh

Top
#202676 - 04/04/04 06:32 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
remember that the game files and images go in the same folder.

Also, you need to update the paths at the top of ubb_games.cgi

Top
#202677 - 04/04/04 07:04 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
Quote:
Originally posted by Ian Spence:

remember that the game files and images go in the same folder.

Also, you need to update the paths at the top of ubb_games.cgi


I'm afraid that I am not following you. I cleared the cache and now the games show up. 4 of the games are showing up and working perfectly while the remaining 4 are not. I get a can't find message and their titles are messed up. I'm confused why half work and half do not.

Top
#202678 - 04/04/04 07:27 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
Ok so I was able to get all of the games to work by chaning their file names on my server. There was a discrepency with regards to the names that were being called when clicking on their respective links and what the actual names of the games were from the download. Now I'm trying to figure out how to correct the issue of their titles being off within my game index in the forums.

Top
#202679 - 04/04/04 07:35 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
HamrWebDesign Offline
Junior Member

Registered: 04/04/04
Posts: 21
Loc: Phoenix, AZ
I had to go in to vars_wordlets_games.cgi and change the names to the correct file names in order to fix the titles within my forums. All is well just thought I'd share the fix with other who may be having issues with this mod.

Top
#202680 - 04/04/04 07:40 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Actually, I just updated the zip with the correct file names.

Should fix the issues

Top
#202681 - 05/09/04 02:11 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, so I downloaded this one, and I seem to have similiar problems to Hamr. 4 games show up and work just fine (Battleship, Rigelian Hot Shots, Sheepish, and Smashing).

The other 4 games show up like this, $vars_wordlets_games{crash}, $vars_wordlets_games{flash}, $vars_wordlets_games{paint}, and $vars_wordlets_games{rocketman}.

These last 4 do not work when you click the links initially but by changing the name of the game files, you can make then work. However, I'm still stuck with the $vars_wordlets_games game names... Any ideas? Thanks in advance...

P.S. I looked in vars_wordlets_games.cgi but I'm not savvy enough to figure out what I need to change.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202682 - 05/09/04 02:35 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
You have to add the games to vars_wordlets_games.cgi to have the wordlet show; it's liek any standard wordlet on your boards.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202683 - 05/09/04 03:03 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Quote:
Originally posted by Gizzy:

You have to add the games to vars_wordlets_games.cgi to have the wordlet show; it's liek any standard wordlet on your boards.


You must think I know what I'm doing... smile You give me a lot more credit than I deserve. Can I get the wordlets for dummies version please? Thanks!
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202684 - 05/09/04 03:47 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Open the file, copy the line from one of the other games, and change the last part to the name of the file minus the swf (you'll get the hang of it)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202685 - 05/09/04 04:21 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, I opened vars_wordlets_games.cgi and this is what I have below. I tried to make a correlation between the games that worked, the file names, and what was showing on the games page.

%vars_wordlets_games = (

q!crashdown! => q!Crashdown!,
q!battleships! => q!Battleships!,
q!flashman! => q!Flash Man!,
q!smashing! => q!Smashing!,
q!rocketmandemo! => q!Rocket Man!,
q!sheepish! => q!Sheepish!,
q!stressgame! => q~Stress Relief! Paintball~,
q!rigelianhotshots! => q!Rigelian Hot Shots!,

File names

battleships.swf - *WORKING*
bg1.swf
*Displays as $vars_wordlets_games{rocketman}*
crashdownwm.swf
*Displays as $vars_wordlets_games{crash}*
flashmanwm.swf
*Displays as $vars_wordlets_games{flash}*
rigelian_hotshots.swf -
Displays correct name, but error "Sorry I can not find the game 'rigelianhotshots' you requested!"
rocketmandemo.swf
sheepish.swf - *WORKING*
smashing.swf - *WORKING*
stressgame.swf
*Displays as $vars_wordlets_games{paint}*

This would almost all seem to make sense about what to do except for Rigelian Hotshots where it's listed in the code as

q!rigelianhotshots! => q!Rigelian Hot Shots!

and diplays correctly but the file and/or link name is wrong.

So what is it I do where? smile

Just trying to understand so that I can one day move past these kinds of questions. Thanks again...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202686 - 05/09/04 04:59 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Ah... In that case, some of your Wordlets aren't matching. In other words, the script is looking for $vars_wordlets_games{rocketman}, but since $vars_wordlets_games{rocketman} doesn't exist in the Wordlets file (it's actually supposed to be $vars_wordlets_games{rocketmandemo}, which does exist) then it won't display as it should. Any clearer? If not, don't worry. smile

This is what the part of vars_wordlets_games.cgi that you posted should look like:

Code:
%vars_wordlets_games = (
  q!crash! => q!Crashdown!,
  q!battleships! => q!Battleships!,
  q!flash! => q!Flash Man!,
  q!smashing! => q!Smashing!,
  q!rocketman! => q!Rocket Man!,
  q!sheepish! => q!Sheepish!,
  q!paint! => q~Stress Relief! Paintball~,
  q!rigelianhotshots! => q!Rigelian Hot Shots!,
smile

Top
#202687 - 05/09/04 07:54 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Freaking awesome. It worked. Thanks so much for your help Gizzy and CTM!
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202688 - 05/09/04 08:34 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Was mainly chris lol... But you're welcome none the less... See, now that you've done it, isn't it friggen easy?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202689 - 05/09/04 09:45 AM Re: [6.7] [beta] Games 2.6.1 - Integrated
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Trust me, I couldn't have done it without CTM's help. I have a long way to go before I can say it's easy. Without the detailed instructions of what to do, I'd be very lost. If things don't match up exactly from instructions to what I have in the code, I get nervous.

So far I've installed 13 hacks and various small design changes and I learn a little something on every one. I greatly appreciate all the help that's been given to me by everyone along the way.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202690 - 07/28/04 06:09 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Updated to the new 2.6 version with new features.

Now uses the cache, so there should be much less server load.
Uses PHP acclerator, which reduces server load even more, and compresses the page
The games are now sorted by wordlet, not file name.


To upgrade, upload ubb_games.cgi, do the steps for ultimatebb.php, and do the new step in ubb_lib.cgi(it is marked)

Top
#202691 - 07/29/04 07:10 PM Re: [6.7] [beta] Games 2.6.1 - Integrated
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
I have a question... Could this hack be implemented for one forum only, or installed in such a way as to only be accessible via a certain link (i.e., not be available board-wide)? I have a separate private forum and I'd like this be only available there. Any suggestions on how I would go about doing this?

Top
Page 1 of 4 1 2 3 4 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks